package com.information.manage.basic.common.utils.exportAndImport.custom;

import cn.afterturn.easypoi.exception.excel.ExcelExportException;
import com.alibaba.fastjson.JSONObject;
import com.information.manage.basic.common.utils.exportAndImport.constant.ExcelConstants;
import com.information.manage.basic.common.utils.FileUtils;
import com.information.manage.basic.common.utils.PathUtils;
import jxl.Workbook;
import jxl.write.*;
import jxl.write.biff.RowsExceededException;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.io.*;
import java.lang.Boolean;
import java.net.URLDecoder;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 自定义导出时表格样式
 */
@Component
public class CustomExportExcelTable implements CommandLineRunner {

    @Resource
    private ExImportManager exImportManager;
    @Resource
    private FileUtils fileUtils;

    private List<CustomExportExcelTableOperator> list = new ArrayList<>();
    {
        //添加不同的样式实现时 添加管理

    }

    @Override
    public void run(String... args) {
        exImportManager.addTableOperator(list);
    }

}
